﻿@{
    Layout = "~/Views/Shared/_General.cshtml";
}
<div class="main_center">
    <div class="weizhi">
        <div class="weizhi_bg ui-icons">
            <p>
                <b>您的位置:</b> <a href="/">首页</a> <span>></span> <a href="/news">站点公告</a>
            </p>
        </div>
    </div>
    

            @(Html.Telerik().Grid<dynamic>()
                            .Name("Grid")
                            .Columns(c =>
                            {

                                c.Bound("Date")
                                    .Title("时间")
                                    .Format("{0:yyyy-MM-dd HH:mm}")
                                    .HtmlAttributes(new { style="width: 150px" });

                                c.Bound("Title")
                                    .Title("标题")
                                    .ClientTemplate("<a href='/news/2011/7/20/<#=Title#>'><#=Title#></a>");
                          
                            })
                            .DataBinding(binding => binding.Ajax().Select("_GetSampleData", "Sample"))
                            .Sortable()
                            .Pageable(p => p.PageSize(10))

                        )

</div>
<div class="main_yj">
</div>
